package com.eva.cms.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eva.cms.biz.article.dto.QueryCmsArticleDTO;
import com.eva.cms.biz.article.vo.CmsArticleProfileVO;
import com.eva.dao.cms.model.CmsArticle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CmsArticleMapper extends BaseMapper<CmsArticle> {

    /**
     * 查询文章概要信息列表
     *
     * @param dto 查询参数
     * @return List<CmsArticleProfileVO>
     */
    List<CmsArticleProfileVO> selectProfileList(QueryCmsArticleDTO dto);
}
